package com.persondemo.videoappliction.database;

import com.persondemo.videoappliction.bean.SplashBean;
import com.persondemo.videoappliction.bean.TvMovieBean;

import org.litepal.crud.DataSupport;

import java.util.List;

/**
 * Created by Administrator on 2018/4/9.
 */

public class ChannelDao {
    public static SplashBean getdata() {
        return DataSupport.findFirst(SplashBean.class);
    }

    public static void savesplash(SplashBean splashBean) {
        SplashBean splashBean1 = new SplashBean();
        splashBean1 = splashBean;
        splashBean1.save();

    }
}
